package com.snake.springboot.custom.api.model.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.snake.common.validate.Create;

import javax.validation.constraints.NotEmpty;

/**
 * 商户角色
 * 类{@code CustRoleModel} </br>
 * 创建时间 2025/02/08 09:34
 * @author yangxt
 * @see
 */
@ApiModel(description="商户角色")
public class CustRoleModel {
    /**
    * 
    */
    @ApiModelProperty(value="")
    private String custRoleId;

    /**
    * 商户id
    */
    @ApiModelProperty(value="商户id")
    @NotEmpty(message = "商户不能为空", groups = {Create.class})
    private String customId;

    /**
    * 角色名称
    */
    @ApiModelProperty(value="角色名称")
    private String roleName;

    /**
    * 可用状态
    */
    @ApiModelProperty(value="可用状态")
    private Integer enable;

    /**
    * 
    */
    @ApiModelProperty(value="")
    private String createdTime;

    /**
    * 
    */
    @ApiModelProperty(value="")
    private String updatedTime;
    @ApiModelProperty("描述")
    private String remark;
    private String customName;

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCustRoleId() {
        return custRoleId;
    }

    public void setCustRoleId(String custRoleId) {
        this.custRoleId = custRoleId;
    }

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }
}